package org.ruanjj.designmodel.enumsingleton;

public class main {
    public static void main(String[] args) {
        new Thread(new Runnable() {
            @Override
            public void run() {
                try {
                    Thread.sleep(1000);
                } catch (InterruptedException e) {
                    throw new RuntimeException(e);
                }
                Singleton3.getInstance();
            }
        },"tread1").start();

        Singleton3.getInstance();
    }
}
